package com.atguigu.spzx.manager.mapper;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.sys.SysUser;
import com.atguigu.spyx.model.dto.system.SysUserDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LT
 * @create 2023-10-31-19:44
 */
@Mapper
public interface SysUserMapper {
    SysUser findSysUserByUserName(String userName);

    List<SysUser> getUserPage(SysUserDto sysUserDto);

    void deleteById(Integer id);

    SysUser getById(Integer id);

    void updateById(SysUser sysUser);

    void saveUser(SysUser sysUser);
}
